<?php
namespace app\model;
use app\BaseModel;
use think\model\concern\SoftDelete;

class OrderRefund extends BaseModel
{

    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = '0000-00-00 00:00:00';
    protected $hidden = ['update_time','delete_time','sort','status'];


    public function getAuditStatusTitleAttr($value, $data)
    {
        $status = [1=>'审核中',2=>'审核成功',3=>'审核失败'];
        return $status[$data['audit_status']];
    }




}